package com.beizhen.demo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.beizhen.demo.dao.StuBaseClassifyDao;
import com.beizhen.demo.entity.StuBaseClassify;
import com.beizhen.demo.service.StuBaseClassifyService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
* 基地区域分类表 业务逻辑接口的实现类
*/
@Service
public class StuBaseClassifyServiceImpl extends ServiceImpl<StuBaseClassifyDao, StuBaseClassify> implements StuBaseClassifyService {

    @Autowired
    private StuBaseClassifyDao stuBaseClassifyDao;

    @Override
    public List<StuBaseClassify> getOneAreaInfo() {
        return stuBaseClassifyDao.getOneAreaInfo();
    }

    @Override
    public List<StuBaseClassify> getTwoAreaInfo(String oneLevel) {
        return stuBaseClassifyDao.getTwoAreaInfo(oneLevel);
    }
}
